package com.fang.fen.blog.common.id;

public class IdGenerator {

    public final static long workerId = 1l;
    public final static long datacenterId = 1l;

    public static String nextId() {
        return  Long.toHexString(new IdWorker(workerId, datacenterId).nextId());
    }

}
